package com.huawei.M01.iterator;

import java.util.HashSet;
import java.util.Set;

public class Test {
    public boolean checkIfPangram(String sentence) {
        Set<Character> characterSet = new HashSet<>();
        char[] chars = sentence.toCharArray();
        for (char c : chars) {
            characterSet.add(c);
        }
        return characterSet.size() == 26;
    }

    public static void main(String[] args) {
        String test = "abcdefghk";
        System.out.println(test.substring(test.length() - test.length() / 2));
        System.out.println(test.substring(0, test.length() / 2));
    }
}
